/*
 * 天虹商场股份有限公司版权所有.
 */
package com.rainbow.hmkmybatis.executor;

import com.rainbow.hmkmybatis.config.MapperRegistory;
import com.rainbow.mybatis.config.Configuration;
import com.rainbow.mybatis.executor.SimpleExecutor;

import java.util.HashMap;
import java.util.Map;

/**
 * TODO
 *
 * @author 黄明坤
 * @version 1.0.0
 * @date 2020/6/28
 */
public class CachingExecutor implements Executor {

    private Configuration configuration;

    private SimpleExecutor delegate;

    private Map<String,Object> localCache = new HashMap();

    public CachingExecutor(Executor executor) {

    }

    @Override
    public <T> T query(MapperRegistory.MapperData mapperData, Object parameter) throws Exception {
        return null;
    }
}
